package com.jr.service;


import com.jr.entity.User;

import javax.servlet.http.HttpSession;

/**
 * 用户信息表
 *
 * @author Snoopy
 * @since 1.0.0 2022-12-31
 */
public interface UserService  {

    /**
     * @description:登录验证
     * @author: 宋帅辰
     * @date: 2023/1/1 16:42
     * @param: user
     * @return: int
     **/
    User checkUser(User user);

    /**
     * @description:用户注册
     * @author: 宋帅辰
     * @date: 2023/1/1 16:42
     * @param: user
     * @return: int
     **/
    boolean registerUser(User user);

    /**
     * @description:用户信息更改
     * @author: 宋帅辰
     * @date: 2023/1/1 16:52
     * @param: user
     * @return: int
     **/
    boolean changeUserInfo(User user, HttpSession session);
}